package com.qf.service;

import com.qf.mapper.TaskplanMapper;
import com.qf.model.*;
import com.qf.page.PageResult;
import com.qf.page.QueryPageBean;

import java.util.List;
import java.util.Map;

public interface ProjectService {

    public List<Project> getAll();

    public PageResult findPage(QueryPageBean queryPageBean);

    public int addProject(Project project);

    public Project findById(Integer pid);

    public int edit(Project project);

    int delete(Integer pid);

    Map<String,Object> index(int pid);

    List<Subitem> cname(int pid);

    List<Item> item(String suid);

    List<Branch> bname(int pid);

    List<Taskplan> taskplan(String bid);
}
